Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING CHANGE: netcore: scope non-common fields #47

Merged
merged 1 commit into from
Nov 29, 2024
Merged

Conversation

bassosimone
Copy link
Member

@bassosimone bassosimone commented Nov 29, 2024

  1. domain => dnsLookupDomain

  2. addrs => dnsResolvedAddrs

  3. count => ioBufferSize or ioBufferCount

This set of changes is part of an overall effort to ensure it's relatively trivial to serialize to a flat data format.

To this end, figure out which fields are really common and which fields, instead, are specific, and add prefixes to the specific ones to make it very clear what they are about.

Also, avoid overload, and split into two fields when we're using the same field with two distinct semantics dependent on the message type. This should also increase the data format orthogonality.

See also rbmk-project/dnscore#13

While there, bump the rbmk-project/{common,dnscore} dependencies.

1. `domain` => `dnsLookupDomain`

2. `addrs` => `dnsResolvedAddrs`

3. `count` => `ioBufferSize` or `ioBufferCount`

This set of changes is part of an overall effort to ensure it's
relatively trivial to serialize to a flat data format.

To this end, figure out which fields are really common and which
fields, instead, are specific, and add prefixes to the specific ones
to make it very clear what they are about.

Also, avoid overload, and split into two fields when we're using
the same field with two distinct semantics dependent on the
message type. This should also increase the data format orthogonality.

See also rbmk-project/dnscore#13
@bassosimone bassosimone merged commit 83d898f into main Nov 29, 2024
1 check passed
@bassosimone bassosimone deleted the deps branch November 29, 2024 09:14
bassosimone added a commit to rbmk-project/rbmk that referenced this pull request Nov 29, 2024
bassosimone added a commit to rbmk-project/rbmk that referenced this pull request Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant